if (do_name() != 'Home') : ?>
Reference | imagesize()
endif ?>
Syntax | imagesize(path)
|
Description | Returns the dimensions (width and height) of an image located at the given path. Obtaining the size of an image is useful when the image needs to scaled to an exact size, for example. The return value is a list with the image's width and the image's height. |
Returns | a tuple with the width and height of the given image |
|
Example | w, h = imagesize("superfolia.jpg")
print w
print h |
|
include("util/comment.php"); ?>